package com.dzsw.javabase.modifier.pkg1;

public class Class2 {

    public static void main(String[] args) {
        Class1 c1 = new Class1();

        c1.defaultProperty = "default";
        c1.protectedProperty = "protected";
        c1.publicProperty = "public";

        c1.defaultMethod();
        c1.protectedMethod();
        c1.publicMethod();
    }
}
